package com.dongdongshop.pojo.specification;

import java.io.Serializable;
import java.util.List;

public class TbSpecification implements Serializable {
    private Long id;

    private String specName;

    private Long specId;

    List<TbSpecificationOption> list;

    @Override
    public String toString() {
        return "TbSpecification{" +
                "id=" + id +
                ", specName='" + specName + '\'' +
                ", specId=" + specId +
                ", list=" + list +
                '}';
    }

    public TbSpecification() {
    }

    public TbSpecification(Long id, String specName, Long specId, List<TbSpecificationOption> list) {
        this.id = id;
        this.specName = specName;
        this.specId = specId;
        this.list = list;
    }

    public Long getSpecId() {
        return specId;
    }

    public void setSpecId(Long specId) {
        this.specId = specId;
    }

    public List<TbSpecificationOption> getList() {
        return list;
    }

    public void setList(List<TbSpecificationOption> list) {
        this.list = list;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getSpecName() {
        return specName;
    }

    public void setSpecName(String specName) {
        this.specName = specName == null ? null : specName.trim();
    }
}